/* TeamDev Orm Version 4 */
/* Entity File */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using TDB;
namespace TDBTest
{
  [Serializable]
  [DesignTimeVisible(false)]
  [EntityUniqueIdentifier("Id")] // The Unique Identifier field used in the DB. 
  public partial class post_Posts : ITypeStore<post_Posts>
  {
    #region Proprietà Pubbliche
    public int Id
    { get; set; }

    public string Language
    { get; set; }

    public string Path
    { get; set; }

    public int ContentTypeId
    { get; set; }

    public string ImageUri
    { get; set; }

    public string Title
    { get; set; }

    public string BodyAbstract
    { get; set; }

    public string Body
    { get; set; }

    public string PlainBody
    { get; set; }

    public Double? Latitude
    { get; set; }

    public Double? Longitude
    { get; set; }

    public string Location
    { get; set; }

    public string Uri
    { get; set; }

    public int OrderIndex
    { get; set; }

    public DateTime CreationDate
    { get; set; }

    public DateTime? LastUpdate
    { get; set; }

    public DateTime? EndDate
    { get; set; }

    public DateTime? HighlightEndDate
    { get; set; }

    public Guid AuthorId
    { get; set; }

    public bool IsAnonymous
    { get; set; }

    public bool AllowAutoMenu
    { get; set; }

    public bool AllowComments
    { get; set; }

    public bool IsInCarousel
    { get; set; }

    public bool IsComment
    { get; set; }

    public bool IsPingBack
    { get; set; }

    public bool IsDeleted
    { get; set; }

    public bool IsApproved
    { get; set; }

    public bool IsLocked
    { get; set; }

    public bool IsIndexed
    { get; set; }

    public byte[] ACL
    { get; set; }

    public Guid? ParentId
    { get; set; }

    public string MetaKey
    { get; set; }

    #endregion

    public dynamic CreatePrimaryKey(post_Posts entity)
    {
      return entity.Id;
    }
  }
}
